import request from '@/utils/request'

const url = 'http://127.0.0.1:8083'

export function getExcelModelList(){
    return request({
        url:`${url}/ExcelModel/list`,
        method:'get'
    })
}

export function ExcelDownload(){
    return request({
        url:`${url}/ExcelModel/download`,
        method:'get'
    })
}

export function DataDownload(){
    return request({
        url:`${url}/dataDownload/init`,
        method:'get'
    })
}

export function queryData(params){
    return request({
        url:`${url}/dataDownload/queryData`,
        method:'get',
        params:params
    })
}

export function GetModelByIDAndType(params){
    return request({
        url:'http://127.0.0.1:8086/fuke-app-server/fuke/Model/GetModelByIDAndType',
        method:'post',
        data:params
    })
}